﻿@{
    ViewBag.Title = "菜单管理";
}


@section PSI_JS{

    <script src="@Url.Content("~/Scripts/PSI/App.js?dt=" + DateTime.Now.Ticks.ToString())" type="text/javascript"></script>

    <script src="@Url.Content("~/Scripts/PSI/MainMenu/Admin/MainForm.js?dt=" + DateTime.Now.Ticks.ToString())" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/PSI/MainMenu/Admin/MenuEdit.js?dt=" + DateTime.Now.Ticks.ToString())" type="text/javascript"></script>

    <script src="@Url.Content("~/Scripts/PSI/MainMenu/Admin/FidField.js?dt=" + DateTime.Now.Ticks.ToString())" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/PSI/MainMenu/Admin/MenuField.js?dt=" + DateTime.Now.Ticks.ToString())" type="text/javascript"></script>

  }

<script type="text/javascript">
    Ext.onReady(function () {
        var app = Ext.create("PSI.App", {
            userName: "@ViewBag.UserName",
            showRecent: true
        });

        app.createMainUI();

        var mp = app.getMainPanel();

        var mainForm = Ext.create("PSI.MainMenu.Admin.MainForm");
        mainForm.createUI();
        mp.add(mainForm.getMainPanel());
    });
</script>